set :application, "translucent"
set :user, "capistrano"
set :use_sudo, false
# This key allows you to "become" www-data. It should be treated like any other key (i.e. securely)
ssh_options[:keys] = "#{ENV['HOME']}/.ssh/www-data_rsa"
set :repository,  "http://translucent.googlecode.com/svn/trunk"
set :deploy_to, "/Volumes/RAID/WebServer/Capistrano/#{application}"

role :app, "marley.ics.hawaii.edu"
role :web, "marley.ics.hawaii.edu"
role :db,  "marley.ics.hawaii.edu", :primary => true

set :prod_db, 'translucent_production'
set :mongrel_cmd, "/usr/bin/mongrel_rails_persist"
set :mongrel_ports, 8010..8013
set :mongrel_user, "www"
set :mongrel_group, "www"
